//zed

print("*** start\n")

// x is not defined - will throw ReferenceError

try 
    print(x)
catch(e)
    print("OK - catch one line body")
end

try 
    print(x)
catch(e)
    print("OK - catch one line body")
finally
    print("OK - finally one line body")
end

try 
    y = 1
    print(x)
catch(e)
    print("OK - catch two line body")
finally
    print("OK - finally two line body")
end

try 
    y = 1
    print(x)
catch(e)
    z = 2
    print("OK - catch two line catch")
finally
    z = 3
    print("OK - finally two line finally")
end



print("\n*** end ");
